﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jzy.Core.Common;
using FortuneHeaven.Entity.NetBar;
using FortuneHeaven.DAL.NetBar;

namespace FortuneHeaven.BLL.NetBar
{
    public class NetBarBO : CommonOperate<NetBarInfo>
    {
        private NetBarDAL _netBar;
        public NetBarBO()
        {
            _netBar = new NetBarDAL();
            base.dbOper = _netBar.dbOper;
        }

        public void SetStatus(IEnumerable<int> ids, int status)
        {
            _netBar.SetStatus(ids, status);
        }

        public NetBarInfo GetInfoWithLock(int netbarID)
        {
            return _netBar.GetInfoWithLock(netbarID);
        }
       
    }
}
